package method;

/**
 * @Author Stringzhua
 * @Date 2024/2/7 12:10
 * description:
 */
public class MethodExercise01again {
    public static void main(String[] args) {
        Wen wen=new Wen();
        wen.Print(4,4,'#');
    }
}
class Wen{
    public void Print(int rows,int cols,char c){
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < cols; j++) {
                System.out.print(c);
            }
            System.out.println();
        }
    }
}
